import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { OrganUserComponent } from './user/user.component';
import { OrganCompanyComponent } from './company/company.component';
import { OrganPostComponent } from './post/post.component';
import { OrganOrganizeComponent } from './organize/organize.component';

const routes: Routes = [
  { path: 'user', component: OrganUserComponent },
  { path: 'company', component: OrganCompanyComponent },
  { path: 'post', component: OrganPostComponent },
  { path: 'organize', component: OrganOrganizeComponent },
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule],
})
export class OrganRoutingModule {}
